package com.data.modules.smzh.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.data.modules.smzh.entity.SmAccMonit;
import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: 时迈人员进出监控
 * @Author: data-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
public interface SmAccMonitMapper extends BaseMapper<SmAccMonit> {

    List<SmAccMonit> searchLastInfo(@Param("userName") String userName);

    List<Map> searchLastSosInfo(@Param("code") String code);

    String searchGateInfo(@Param("userName")  String userName);

    String searchUnitCount(@Param("userName") String userName);

    String searchOnlineCount(@Param("userName") String userName);

    String searchMidScreenCount(@Param("userName") String userName);
}
